package com.shipeiqi;

import com.shipeiqi.duixiang.ShouJiAdapter2;

public class Test {
    public static void main(String[] args) {
//        ShouJiAdapter shouJiAdapter = new ShouJiAdapter();
//        int dc = shouJiAdapter.getDc();

        ShouJiAdapter2 shouJiAdapter = new ShouJiAdapter2();
        int dc = shouJiAdapter.getDc();
        System.out.println("手机适配器给我们提供的电压是:"+dc+"v");
    }
}
